/**
 * @author Fayçal INAJJARANE
 */
package com.appspot.finajjarane.framework.generic;

public class ApplicationConstants {

	// Separator used for article's labels
	public static final String LABEL_SEPARATOR = ",";

	// Number of articles per page (Admin)
	public static final int NBR_ARTICLES_PER_PAGE_ADMIN = 5;

	// Number of articles per page (web)
	public static final int NBR_ARTICLES_PER_PAGE_FRONT = 5;

	// Number of articles per page (web) in home page
	public static final int NBR_ARTICLES_PER_PAGE_FRONT_HOME = 5;

	// Number of chars on short Articles (for home page dispaly)
	public static final int NBR_CHARS_SHORT_ARTICLE = 100;

	// Max image thumbnail width in pixels
	public static final int IMAGE_THUMBNAIL_WIDTH = 100;

	// The "No image" image for articles
	public static final String NO_IMAGE_TITLE = "logo-100x100";

	// The "No image" image full link
	public static final String NO_IMAGE_FULL_LINK = "https://lh5.googleusercontent.com/-ItlloUVOd0A/TyLRCAZ2r8I/AAAAAAAAAus/aWXcZ5V_aPE/s800/logo_100x100.png";

	/**
	 * PicasaWebAlbums constantes
	 */
	// Picasa Web username credential
	public static final String PICASA_WEB_USERNAME = "fayssal.inajjarane@gmail.com";

	// Picasa Web short username credential
	public static final String PICASA_WEB_USERNAME_SHORT = "fayssal.inajjarane";

	// Picasa Web password credential
	public static final String PICASA_WEB_PASSWORD = "zoxvjqsnbqcjyrrl";

	// Picasa Web "faycal-inajjarane.appspot.com" album ID
	public static final String PICASA_MAIN_ALBUM_ID = "5698678593999350737";


	// Picasa Web "faycal-inajjarane.appspot.com" album ID
	public static final long PICASA_SECONDES_REFRESH_ALBUM = 60;


	/**
	 * Lang constants
	 */
	// Arabic code
	public static final String LANG_AR_AR = "ar_AR";

	// English US code
	public static final String LANG_EN_US = "en_US";

	// French France code
	public static final String LANG_FR_FR = "fr_FR";

	/**
	 * JSON Constantes and exceptions
	 */
	// JSON empty flow
	public static final int JSON_STATUS_EMPTY		=	-1;

	// JSON data generated (everything is OK)
	public static final int JSON_STATUS_OK			=	0;

	// JSON handled exception
	public static final int JSON_STATUS_EXCEPTION	=	1;

	// JSON General exception message
	public static final String JSON_EXCEPTION_MESSAGE_GENERAL	=	"json.exception.general";


	/**
	 * Social Section
	 */
	// Twitter Consumer Key
	public static final String TWITTER_CONSUMER_KEY	=	"J8eNlRO3WdA2IIscA4FgqQ";

	// Twitter Consumer secret
	public static final String TWITTER_CONSUMER_SECRET	=	"1SWRfnz0P8Zh7aAfuQPuWlHpECeYD31bKgJ7I5iiEY";

	// Twitter Access token
	public static final String TWITTER_ACCESS_TOKEN	=	"70685759-e1vZDS5q7Ag2CkoTFAxPgG00eE9WEYgLfWzJilxA0";

	// Twitter Access token secret
	public static final String TWITTER_ACCESS_TOKEN_SECRET	=	"G5hKdup2wxG6Xi3o8ag5GQbqQJTCe73PxcVWC0QA";

	/**
	 * Velocity (templating) variables
	 */
	// Message variable (to handle exceptions messages)
	public static final String VELOCITY_MESSAGE_HANDLER = "messageHandler";

}
